<template>
	<view>
		<image src="https://hmj-test-oss.oss-cn-beijing.aliyuncs.com/uploads/20221014/cb217df49299ab1dec882c88b86b80fb.png" mode="widthFix" class="w190 auto mt240 mb28"></image>
		<view class="fz36 pb10 tac">支付成功</view>
		<view class="fz28 tf_999 tac">可在个人中心“我的订单”中查看</view>
		<view  class="w240 lh80 tf_999 radius50 fz30 border auto tac mt120" @click="goOrderDetail">查看详情</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				state:'',
			}
		},
		onLoad(option) {
			console.log(option.state);
			this.state = option.state
		},
		methods: {
			goOrderDetail(){
				if(this.state==1){
					uni.redirectTo({
						url:'../../page_user/mineOrder/mineOrder'
					})
				}else{
					uni.redirectTo({
						url:'../../page_store/storeOrder/storeOrder'
					})
				}
			}
		}
	}
</script>

<style>

</style>
